package cn.iocoder.yudao.module.yyzx.controller.admin.customer_manage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 床位信息新增/修改 Request VO")
@Data
public class BedSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3951")
    private Integer id;

    @Schema(description = "房间号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "房间号不能为空")
    private String roomNumber;

    @Schema(description = "床位状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "床位状态不能为空")
    private Integer bedStatus;

    @Schema(description = "床位位置", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "床位位置不能为空")
    private String positionType;

    @Schema(description = "床位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "床位名称不能为空")
    private String name;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}